<?php $themeUri = get_template_directory_uri(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link type="text/css" href="<?php echo $themeUri; ?>/css/reset.css" rel="stylesheet"/>
<link type="text/css" href="<?php echo $themeUri; ?>/css/bootstrap/bootstrap.css" rel="stylesheet"/>
<link type="text/css" href="<?php echo $themeUri; ?>/css/owl.carousel.css" rel="stylesheet"/>
<link type="text/css" href="<?php echo $themeUri; ?>/css/novahome.css" rel="stylesheet"/>
<link type="text/css" href="<?php echo $themeUri; ?>/css/responsive.css" rel="stylesheet"/>
<link href="<?php echo $themeUri; ?>/font/font-awesome/font-awesome-4.2.0/css/font-awesome.css" rel="stylesheet">
<link href="<?php echo $themeUri; ?>/font/UTMAvo.css" rel="stylesheet">
<?php wp_head(); ?>
</head>	
<body>
<!-- Facebook -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=941544479206981&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Google -->
<!-- Place this tag in your head or just before your close body tag. -->
<script src="https://apis.google.com/js/platform.js" async defer>
  {lang: 'vi'}
</script>

<!-- Main content -->
<div id="page">
	<div class="container">
    	<div class="row">
        	<div id="header-web">
            	<div class="col-md-12">
                	<a href="#" class="logo">
                    	<img src="<?php echo $themeUri; ?>/images/logo.jpg" />                        
                    </a>
                    <span class="slogan">
                        	Đại lý uy tín hàng đầu về Bất động sản
                    </span>
                    <div class="hotline pull-right">
                        <?php if(is_active_sidebar('top_hotline')) dynamic_sidebar('top_hotline') ?>
                        <div class="contact pull-left">
                        	<h4>
                            	ĐẠI LÝ NOVAHOMES
                            </h4>
                            <p>
                            	Phòng bán hàng TIMES CITY VINHOMES
                            </p>
                        </div>
                    </div>
                </div>
            </div>
            <div id="menu">
                <nav class="navbar navbar-default">
                  <div class="container-fluid">
                   	<div class="navbar-header">
                      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-bar">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                      </button>
                      <a href="#" class="logo_png visible-xs">
                      	<img src="<?php echo $themeUri; ?>/images/logo_png.png"/>
                      </a>
                    </div>
                
                    <!-- Collect the nav links, forms, and other content for toggling -->
                    <?php

                    $defaults = array(
                        'theme_location'  => '',
                        'menu'            => 'Top Menu',
                        'container'       => 'div',
                        'container_class' => 'collapse navbar-collapse',
                        'container_id'    => 'nav-bar',
                        'menu_class'      => 'nav navbar-nav',
                        'menu_id'         => 'menu-top-menu',
                        'echo'            => true,
                        'fallback_cb'     => 'wp_page_menu',
                        'before'          => '',
                        'after'           => '',
                        'link_before'     => '',
                        'link_after'      => '',
                        'items_wrap'      => '<ul id="%1$s" class="%2$s">%3$s</ul>',
                        'depth'           => 0,
                        'walker'          => ''
                    );

                    wp_nav_menu( $defaults );

                    ?>
                  </div><!-- /.container-fluid -->
                </nav>
            </div>
        </div>
    </div>

    <?php if(is_home()): ?>
    <div id="top-slide">
    <!-- Slide show -->
    <?php do_action('slideshow_deploy', '8'); ?>
    <!--/ Slide show -->
    </div>
    <?php endif; ?>

    <div id="main">
    <?php if(!is_home()): ?>
        <?php if ( function_exists('yoast_breadcrumb') ) {
        yoast_breadcrumb('<div id="breadcrumb"><div class="container">','</div></div>');
        } ?>
    <?php endif; ?>